//
// Created by bleedingfight on 2020/7/8.
//

#ifndef DATASTRUCTAND_ALG_MYSTACK_H
#define DATASTRUCTAND_ALG_MYSTACK_H
#include <queue>

class MyStack {
public:
    std::queue<int>m_data;
    void push(int x);
    int pop();
    bool empty();
    int top();
};


#endif //DATASTRUCTAND_ALG_MYSTACK_H
